package com.syni.mdd.sjb.common.component.utils.feign.service.mdd.sjb.common.datatreasure;

import com.syni.mdd.sjb.common.component.utils.common.utils.RpcResponseVo;
import com.syni.mdd.sjb.common.component.utils.feign.constants.Constants;
import com.syni.mdd.sjb.common.component.utils.feign.dto.mdd.sjb.common.dxshapp.apiUserChannel.TransferManagerDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @className DxshApiNewsRestService
 * @description TOO
 * @Author cfx
 * @DATE 2020/5/15 15:35
 * @VERSION 1.0
 **/
@FeignClient(value = Constants.MDD_DXSH_APP,path = Constants.MDD_DXSH_APP_CONTEXT_PATH)
@RequestMapping("/apiUserChannel")
public interface DxshUserChannelRestService {

    @PostMapping("/transferManager")
    RpcResponseVo transferManager(@RequestBody TransferManagerDto transferManagerDto);
}
